package com.sketch.entity.dto;

import com.sketch.entity.Classification;
import com.sketch.entity.SketchInfo;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(description = "分类信息")
@AutoMapper(target = Classification.class, reverseConvertGenerate = false)
public class ClassificationDTO {
    /**
     * ID
     */
    @ApiModelProperty(value = "分类ID")
    private Long id;

    /**
     * 名称
     */
    @ApiModelProperty(value = "分类名称")
    private String name;

    /**
     * 类型
     */
    @ApiModelProperty(value = "分类类型")
    private String type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Long cupdateBy;

    @ApiModelProperty(value = "短剧列表")
    private List<SketchInfoDTO> sketchInfoList;
}